<div class="dataTables_info">第${pageNumber}页 / 共${pageCount}页，共${recordCount}条记录</div>
<div class="dataTables_paginate paging_simple_numbers" id="table_pagging">

<% if (pageNumber > 1){ %>
	<a href="#" title="${pageNumber-1}" class="paginate_button previous disabled">上一页</a>
<% } %>

<% if (pageNumber > 4){ %>
	<% if (pageNumber >= 7){ %>
		<a href="#" title="${pageNumber-6}" class="paginate_button">...</a>
	<% } %>
	<% if (pageNumber < 7){ %>
		<a href="#" title="1" class="paginate_button">...</a>
	<% } %>
<% } %>

<% for(var i=1;i<=pageCount;i++){ %>
	<% if (pageNumber == i){ %>
		<a href="#" title="${i}" class="paginate_button current">${i}</a>
	<% } %>
	<% if ((pageNumber >= (i-3)) && (pageNumber != i) && (pageNumber <= (i+3))){ %>
		<a href="#" title="${i}" class="paginate_button">${i}</a>
	<% } %>
<% } %>

<% if (pageNumber < (pageCount-3)){ %>
	<% if (pageNumber <= (pageCount-6)){ %>
		<a href="#" title="${pageNumber+6}" class="paginate_button">...</a>
	<% } %>
	<% if (pageNumber > (pageCount-6)){ %>
		<a href="#" title="${pageCount}" class="paginate_button">...</a>
	<% } %>
<% } %>

<% if (pageNumber < pageCount){ %>
	<a href="#" title="${pageNumber+1}" class="paginate_button next">下一页</a>
<% } %>

</div>
<script type="text/javascript">
$(function(){
	$("#table_pagging a").click(function() {
		var pageNo = $(this).attr('title');
		$("#form_pager_search > [name='_p_pageNumber']").val(pageNo);
		var url = $("#form_pager_search").attr('action');
		HtmlRender(url,$("#form_pager_search").serialize());
	});
});
</script>